import _00SetFunction as sf

#构建指数函数
Xm,Ym=20,20
n=5
X=range(Xm)
Y=range(Ym)
f=sf.createfunction(X,Y)
fn=sf.powernfunc(f,n)
sf.drawgraph(fn)
print("f",f)
print("fn",fn)